<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'order-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'customerName'); ?>
		<?php echo $form->textField($model,'customerName',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'customerName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customerEmail'); ?>
		<?php echo $form->textField($model,'customerEmail',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'customerEmail'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customerAddress'); ?>
		<?php echo $form->textField($model,'customerAddress',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'customerAddress'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customerPhone'); ?>
		<?php echo $form->textField($model,'customerPhone',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'customerPhone'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customerCity'); ?>
		<?php echo $form->textField($model,'customerCity',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'customerCity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'customerCountry'); ?>
		<?php echo $form->textField($model,'customerCountry',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'customerCountry'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createDate'); ?>
		<?php echo $form->textField($model,'createDate'); ?>
		<?php echo $form->error($model,'createDate'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->